import { Component, Input } from '@angular/core';

@Component({
    selector: 'd-modal-test',
    templateUrl: './create.component.html',
})
export class createComponent {
    @Input() data: any;
    @Input() handler: Function | undefined;

    close($event: any) {
        if(this.handler!=undefined){
            this.handler($event);
        }
    }
}